package com.neu.dao;

import java.util.ArrayList;

import com.neu.pojo.Model;
import com.neu.pojo.Problem;
import com.neu.pojo.Reflect;

public interface IreflectDao {

	//添加关系
	public boolean add(Model m, Problem p);
	//得到所有关系
	public ArrayList<Reflect> list();
	//添加关系
	public boolean link(Model m, Problem p);
	//删除关系
	public boolean delete(Model m, Problem p);
	//判断是否关联
	public boolean islink(Model m, Problem p);
	//删除关系
	public boolean delete(Problem p);
	//删除关系
	public boolean delete(Model m);

}